package com.ruoyi.vote.admin.domain.vo;

import java.math.BigDecimal;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.annotation.ExcelDictFormat;
import com.ruoyi.common.convert.ExcelDictConvert;
import lombok.Data;
import java.util.Date;



/**
 * 活动 - 证书模板视图对象 vote_certificate
 *
 * @author 筑巢
 * @date 2023-07-17
 */
@Data
@ExcelIgnoreUnannotated
public class VoteCertificateVo {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ExcelProperty(value = "主键")
    private Long id;

    /**
     * 证书名
     */
    @ExcelProperty(value = "证书名")
    private String name;

    /**
     * 价格
     */
    @ExcelProperty(value = "价格")
    private BigDecimal price;

    /**
     * 证书图片
     */
    @ExcelProperty(value = "证书图片")
    private String pic;

    /**
     * 证书内容
     */
    @ExcelProperty(value = "证书内容")
    private String content;

    /**
     * 证书类型（0电子  1纸质）
     */
    @ExcelProperty(value = "证书类型", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "0=电子,1=纸质")
    private Integer cType;

    /**
     * 证书状态
     */
    @ExcelProperty(value = "证书状态", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "sys_common_status")
    private Integer status;


}
